package cn.cmcc.intertelecom.bean;

import java.util.Arrays;
import java.util.Date;

public class PowerGroup {
    private Integer id;

    private String power;
    
    //用于将power封装在数组中
    private String[] powers;

    private Integer roleId;
    
    

    private String roleName;

    private Date createdate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String[] getPowers() {
		return powers;
	}

	public void setPowers(String[] powers) {
		this.powers = powers;
	}

	public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power == null ? null : power.trim();
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

	@Override
	public String toString() {
		return "PowerGroup [id=" + id + ", power=" + power + ", powers=" + Arrays.toString(powers) + ", roleId="
				+ roleId + ", roleName=" + roleName + ", createdate=" + createdate + "]";
	}
    
    
}